'use client';

import { motion } from 'framer-motion';
import Image from 'next/image';
import { useState } from 'react';

export default function AccountingPage() {
  const [selectedPlan, setSelectedPlan] = useState('small');

  return (
    <div className="bg-white">
      {/* Banner Section */}
      <div className="relative h-[400px]">
        <Image
          src="/images/banner1.jpg"
          alt="代理记账服务"
          fill
          style={{ objectFit: 'cover' }}
          priority
        />
        <div className="absolute inset-0 bg-black/50" />
        <div className="relative h-full flex items-center justify-center">
          <div className="text-center">
            <motion.h1
              initial={{ opacity: 0, y: 20 }}
              animate={{ opacity: 1, y: 0 }}
              transition={{ duration: 0.8 }}
              className="text-4xl font-bold text-white mb-4"
            >
              小规模纳税人企业代理记账
            </motion.h1>
            <motion.p
              initial={{ opacity: 0, y: 20 }}
              animate={{ opacity: 1, y: 0 }}
              transition={{ duration: 0.8, delay: 0.2 }}
              className="text-xl text-gray-200 max-w-2xl mx-auto"
            >
              从业五年以上资深会计师团队提供优质代账服务，熟悉各行业各地工商税务政策，为您规划企业税收分类，并提供整体财税解决方案。
            </motion.p>
          </div>
        </div>
      </div>

      {/* Service Features */}
      <div className="bg-gray-50 py-12">
        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
          <div className="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
            <div>
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold">精细耐心</h3>
            </div>
            <div>
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold">账目清晰</h3>
            </div>
            <div>
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold">随时查看</h3>
            </div>
          </div>
        </div>
      </div>

      {/* Service Plans */}
      <div className="py-12">
        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
          <div className="text-center mb-8">
            <h2 className="text-2xl font-bold">服务标准</h2>
            <div className="mt-4 space-x-4">
              <button
                onClick={() => setSelectedPlan('small')}
                className={`px-6 py-2 rounded-full ${
                  selectedPlan === 'small' ? 'bg-blue-600 text-white' : 'bg-gray-100 text-gray-600'
                }`}
              >
                小规模125元/月起
              </button>
              <button
                onClick={() => setSelectedPlan('general')}
                className={`px-6 py-2 rounded-full ${
                  selectedPlan === 'general' ? 'bg-blue-600 text-white' : 'bg-gray-100 text-gray-600'
                }`}
              >
                一般纳税人250元/月起
              </button>
            </div>
          </div>

          <div className="grid grid-cols-1 lg:grid-cols-2 gap-8">
            <div className="space-y-6">
              <h3 className="text-xl font-bold">小规模企业代理记账基础服务</h3>
              <div className="prose prose-blue">
                <ul className="space-y-2 text-gray-600 list-disc pl-5">
                  <li>整理原始凭据（包括所有记账必须凭据）</li>
                  <li>财税专家对所有数据资料审核</li>
                  <li>财务管理咨询建议</li>
                  <li>每月纳税申报（每月地税申报+月度或季度国税申报）</li>
                  <li>税务申报表及时推送、出具财务报表（含资金情况、利润情况、纳税情况）</li>
                  <li>月度装订凭证、年末装订账簿</li>
                  <li>日常基本财务、税务咨询、财税风险预警</li>
                </ul>
              </div>

              <h3 className="text-xl font-bold mt-8">小规模企业代理记账免费服务</h3>
              <div className="prose prose-blue">
                <ul className="space-y-2 text-gray-600 list-disc pl-5">
                  <li>企业年度所得税汇算清缴</li>
                  <li>新注册公司免费赠送国地税报道（官方费用需额外支付）</li>
                  <li>企业工商年检（年付赠送企业经营年度报告公示）</li>
                  <li>终身后续指导和免费财税咨询服务</li>
                  <li>核定残保金（年付赠送）</li>
                  <li>法人一证通（年付赠送）</li>
                </ul>
              </div>
            </div>

            <div className="space-y-6">
              <div className="bg-gray-50 p-6 rounded-lg">
                <h3 className="text-lg font-semibold mb-4">服务时间</h3>
                <p className="text-gray-600">随时提供财税咨询服务、月度做账及税务申报、年度汇算清缴</p>
              </div>

              <div className="bg-gray-50 p-6 rounded-lg">
                <h3 className="text-lg font-semibold mb-4">服务费用</h3>
                <p className="text-gray-600">150元/月起，因地区或政策不同可能有所不同，具体请咨询当地财税顾问</p>
              </div>

              <div className="bg-gray-50 p-6 rounded-lg">
                <h3 className="text-lg font-semibold mb-4">准备资料</h3>
                <ul className="space-y-2 text-gray-600">
                  <li>1、公司执照副本复印件</li>
                  <li>2、法人、股东身份证复印件</li>
                  <li>3、银行开户许可证复印件</li>
                  <li>4、一证通或地税、国税CA证书、报税密码</li>
                  <li>5、非新注册公司交接原会计资料</li>
                </ul>
              </div>

              <div className="bg-gray-50 p-6 rounded-lg">
                <h3 className="text-lg font-semibold mb-4">服务地区</h3>
                <p className="text-gray-600">上海、北京、天津、广州、杭州、南京、苏州、无锡、宁波、长沙、合肥、武汉、福州等全国各线城市</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      {/* Service Advantages */}
      <div className="bg-gray-50 py-16">
        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
          <h2 className="text-2xl font-bold text-center mb-12">创新型代账服务，做财税行业领导者</h2>
          <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
            <div className="text-center">
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold mb-2">零稽查风险</h3>
              <p className="text-gray-600">五重智能预警+三重人工审查确保您的账务无错账漏帐，无稽查风险</p>
            </div>
            <div className="text-center">
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold mb-2">资深会计服务</h3>
              <p className="text-gray-600">熟悉各地行业工商税务政策的资深团队，为您做好合理纳税筹划</p>
            </div>
            <div className="text-center">
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold mb-2">全程售后无忧</h3>
              <p className="text-gray-600">9人专属售后服务团队，标准化处理流程及制度，确保您售后无忧</p>
            </div>
            <div className="text-center">
              <div className="text-blue-600 mb-4">
                <svg className="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
                </svg>
              </div>
              <h3 className="text-lg font-semibold mb-2">一站式企业服务</h3>
              <p className="text-gray-600">全流程解决代理记账、社保代理、税务代理、工商代办、商标注册等问题</p>
            </div>
          </div>
        </div>
      </div>

      {/* Service Guarantee */}
      <div className="py-16">
        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
          <h2 className="text-2xl font-bold text-center mb-12">售后保障</h2>
          <div className="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
            <div>
              <div className="text-3xl font-bold text-blue-600 mb-2">8年</div>
              <p className="text-gray-600">深耕财税领域八年</p>
            </div>
            <div>
              <div className="text-3xl font-bold text-blue-600 mb-2">1000+</div>
              <p className="text-gray-600">铸造财务精英千名</p>
            </div>
            <div>
              <div className="text-3xl font-bold text-blue-600 mb-2">10000+</div>
              <p className="text-gray-600">数万互联网企业财务伙伴</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
} 